Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@dfeidao/fd-an000011

taoqf13MIT4.6.201909121242TypeScript support: included

判断字符串中是否包含特殊字符

feidao, 01feidao, dfeidao, atom, 飞道, 原子操作, ai

readme

判断字符串中是否包含特殊字符

所谓的特殊字符包含

`~!@#$^&*()+=|\[]{}:;',.<>/?

Installation

yarn add --dev @dfeidao/fd-an000011

Example

import an11 from '@dfeidao/fd-an000011';

an11("@[#!]");    // true
an11("123456");    // false
an11("abcd");    // false
an11("飞道");    // false