* Adds the concept of, and options for, the return typing strategy * adds the strategy at the beginning of every behavior index * adds the strategy as an additional argument to resolve * No actual use of return type strategy so far * Sets up eslint * Fixes eslint errors
7 lines
214 B
JavaScript
7 lines
214 B
JavaScript
import {plain, boolnum} from './helpers.js'
|
|
import {NumberT} from './NumberT.js'
|
|
|
|
import {match} from '#core/TypePatterns.js'
|
|
|
|
export const clone = plain(a => a)
|
|
export const isnan = match(NumberT, boolnum(isNaN))
|