TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
siva nathan
945
828
231.4k
convert string to boolean in angular typescript
Dec 22 2020 7:45 AM
Hi All,
i have an list of array object need to convert string values into bool
ex: array below mentioned
0: {roleName: "Admin", roleId: 14, configuration: "false", projects: "false", fTs: "false", …}
1: {roleName: "PM", roleId: 15, configuration: "false", projects: "false", fTs: "false",...}
expected result
0: {roleName: "Admin", roleId: 14, configuration: false, projects: false, fTs: false, …}
1: {roleName: "PM", roleId: 15, configuration: false, projects: false, fTs: false,...}
need to convert above array object string into bool how to achieve this
Reply
Answers (
2
)
pass server side errors to client side typescript using vs code
Simplifying Known Vanilla JS to Advanced ES