From 4a48fed924261dfcec8655b098090d066c1256c0 Mon Sep 17 00:00:00 2001 From: Kanan Yusubov <44983544+thisisyusub@users.noreply.github.com> Date: Mon, 17 May 2021 11:23:36 +0400 Subject: [PATCH] Remove isNull method from doc --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2871da5..274f0e5 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ The is a new fork of [validator.dart](https://github.com/karan/validator.dart), - **isInt(String str)** - check if the string is an integer. - **isFloat(String str)** - check if the string is a float. - **isDivisibleBy(String str, number)** - check if the string is a number that's divisible by another. -- **isNull(String str)** - check if the string is null. - **isLength(String str, min [, max])** - check if the string's length falls in a range. Note: this function takes into account surrogate pairs. - **isByteLength(String str, min [, max])** - check if the string's length (in bytes) falls in a range. - **isUUID(String str [, version])** - check if the string is a UUID (version 3, 4 or 5). @@ -58,4 +57,4 @@ The is a new fork of [validator.dart](https://github.com/karan/validator.dart), - **stripLow(String input [, keep_new_lines])** - remove characters with a numerical value < 32 and 127, mostly control characters. If `keep_new_lines` is `true`, newline characters are preserved (`\n` and `\r`, hex `0xA` and `0xD`). Unicode-safe in JavaScript. - **whitelist(String input, chars)** - remove characters that do not appear in the whitelist. The characters are used in a RegExp and so you will need to escape some chars, e.g. whitelist(String input, '\\[\\]'). - **blacklist(String input, chars)** - remove characters that appear in the blacklist. The characters are used in a RegExp and so you will need to escape some chars, e.g. blacklist(String input, '\\[\\]'). -- **normalizeEmail(String email [, options])** - canonicalize an email address. `options` is an object which defaults to `{ lowercase: true }`. With `lowercase` set to `true`, the local part of the email address is lowercased for all domains; the hostname is always lowercased and the local part of the email address is always lowercased for hosts that are known to be case-insensitive (currently only GMail). Normalization follows special rules for known providers: currently, GMail addresses have dots removed in the local part and are stripped of tags (e.g. `some.one+tag@gmail.com` becomes `someone@gmail.com`) and all `@googlemail.com` addresses are normalized to `@gmail.com`. \ No newline at end of file +- **normalizeEmail(String email [, options])** - canonicalize an email address. `options` is an object which defaults to `{ lowercase: true }`. With `lowercase` set to `true`, the local part of the email address is lowercased for all domains; the hostname is always lowercased and the local part of the email address is always lowercased for hosts that are known to be case-insensitive (currently only GMail). Normalization follows special rules for known providers: currently, GMail addresses have dots removed in the local part and are stripped of tags (e.g. `some.one+tag@gmail.com` becomes `someone@gmail.com`) and all `@googlemail.com` addresses are normalized to `@gmail.com`.