typocomath/src/numbers/predicate.ts

2 lines
44 B
TypeScript

export const isSquare = (a:number) => a >=0