Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 10, 2023
1 parent c68ad09 commit 7a873a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/is.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { toString } from './base'

export const isDef = <T = any>(val?: T): val is T => typeof val !== 'undefined'
export const isBoolean = (val: any): val is boolean => typeof val === 'boolean'
// eslint-disable-next-line ts/ban-types
export const isFunction = <T extends Function> (val: any): val is T => typeof val === 'function'
export const isNumber = (val: any): val is number => typeof val === 'number'
export const isString = (val: unknown): val is string => typeof val === 'string'
Expand Down

0 comments on commit 7a873a7

Please sign in to comment.