11 lines
225 B
JavaScript
11 lines
225 B
JavaScript
import Returns from '../core/Returns.mjs'
|
|
export * from './Types/bigint.mjs'
|
|
|
|
export const sign = {
|
|
bigint: () => Returns('bigint', b => {
|
|
if (b === 0n) return 0n
|
|
if (b > 0n) return 1n
|
|
return -1n
|
|
})
|
|
}
|