UNPKG

gnablib

Version:

A lean, zero dependency library to provide a useful base for your project.

9 lines (8 loc) 569 B
import { ILengther } from '../primitive/interfaces/ILengther.js'; import { ISafeBool, ISafeLen, ISafeNum, ISafeStr } from './interfaces/ForSafe.js'; export declare function sNum(noun: string, test: unknown): ISafeNum; export declare function sInt(noun: string, test: unknown): ISafeNum; export declare function sFloat(noun: string, test: unknown): ISafeNum; export declare function sStr(noun: string, test: unknown): ISafeStr; export declare function sBool(noun: string, test: unknown): ISafeBool; export declare function sLen(noun: string, test: ILengther): ISafeLen;