Rename master branch to main

This commit is contained in:
Sindre Sorhus 2021-01-24 14:20:06 +07:00
parent da6bb531af
commit 4f8b01f2dc

View file

@ -262,7 +262,7 @@ is.safeInteger = (value: unknown): value is number => Number.isSafeInteger(value
type ObjectKey = string | number | symbol;
is.plainObject = <Value = unknown>(value: unknown): value is Record<ObjectKey, Value> => {
// From: https://github.com/sindresorhus/is-plain-obj/blob/master/index.js
// From: https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
if (toString.call(value) !== '[object Object]') {
return false;
}