Пример #1
0
        /// <summary>
        /// If a container type,
        /// attempts to locate the boolean at the end of the given path.
        /// </summary>
        /// <see cref="Locate(string)"/>
        /// <param name="path">A dot seperated path to the boolean.</param>
        public bool?LocateBoolean(string path)
        {
            DiscordApiData data = Locate(path);

            return(data?.ToBoolean());
        }